package com.ts.proj.repository;

import com.ts.base.repository.CommonRepository;
import com.ts.common.constant.SQLConstant;
import com.ts.proj.entity.SystemButtonEntity;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface SystemButtonRepository extends CommonRepository<SystemButtonEntity> {

    @Query(value= SQLConstant.SYSTEMROLEBYMENUURL,nativeQuery = true)
    List<SystemButtonEntity> findSystemButtonLocalQuery(String menuURL);

}
